import Home from '../pages/Home'
import CityList from '../pages/CityList'
import {Navigate} from 'react-router-dom'

 const routes=[
    {
		path:'/home',
		element:<Home/>,
	}, 
    {
		path:'/citylist',
		element:<CityList/>,
	},
	{
		path:'/',
		element:<Navigate to="/home"/>
	}
]
export default routes;